{yun:}include file="$userstyle/header.htm"{/yun}
<div class="yun_w1200">
    {yun:}include file="$userstyle/left.htm"{/yun}
    <div class="yun_m_rightbox fltR mt20 re">
    	<div class="member_right_index_h1 fltL"> <span class="member_right_h1_span fltL">我的培训</span> <i class="member_right_h1_icon user_bg"></i></div>
	        <div id="gms_showclew"></div>
	        <div class="resume_box_list"> 
	        <div class="job_list_tit"> 
		        <ul class="">
					<li {yun:}if $smarty.get.c=='baoming_subject'{/yun}class="job_list_tit_cur"{yun:}/if{/yun}><a href="index.php?c=baoming_subject">报名课程</a></li>
				 	<li {yun:}if $smarty.get.c=='fav_subject'{/yun}class="job_list_tit_cur"{yun:}/if{/yun}><a href="index.php?c=fav_subject">收藏课程</a>{yun:}if $msgnum{/yun}<i class="left_sidebar_leftmune_icon">{yun:}$msgnum{/yun}</i>{yun:}/if{/yun}</li>
			      	<li {yun:}if $smarty.get.c=='atn_teacher'{/yun}class="job_list_tit_cur"{yun:}/if{/yun}><a href="index.php?c=atn_teacher">关注讲师</a></li>
			 		<li {yun:}if $smarty.get.c=='fav_agency'{/yun}class="job_list_tit_cur"{yun:}/if{/yun}><a href="index.php?c=fav_agency">关注机构</a></li>
		     		<li {yun:}if $smarty.get.c=='subject_zixun'{/yun}class="job_list_tit_cur"{yun:}/if{/yun}><a href="index.php?c=subject_zixun">培训留言</a></li>
		     	</ul> 
	     	</div>
		{yun:}if $rows{/yun}
		<div class="train_class train_class_d">
           <ul>
		    {yun:}foreach item=job from=$rows{/yun}
		     {yun:}assign var="state" value=$job.order_state{/yun}
               <li>
                   <div class="train_class_img"><a href="{yun:}url m=train c=subshow id='`$job.sid`'{/yun}"><img width="200" height="130" src="{yun:}$config.sy_weburl{/yun}/{yun:}$job.pic{/yun}" onerror="showImgDelay(this,'{yun:}$config.sy_weburl{/yun}/{yun:}$config.sy_pxsubject_icon{/yun}',2);"/></a></div>
                   
                   
                   <div class="train_class_tit"><a href="{yun:}url m=train c=subshow id=$job.sid{/yun}" target="_blank">{yun:}$job.name{/yun}</a></div>
                  
                   <div class="train_classa_t">机构名称：<a href="{yun:}url m=train c=agencyshow id=$job.s_uid{/yun}" target="_blank">{yun:}$job.train_name|strip_tags|mb_substr:0:7:utf8{/yun}</a>    </div>
                   <div>课程价格：<i class="train_class_jg">{yun:}$job.price{/yun}</i>   </div>
                    <div>收费方式： {yun:}if $job.isprice==1{/yun}在线收费{yun:}else{/yun}到场收费 {yun:}/if{/yun}   </div>
                   <div>报名时间：{yun:}$job.ctime|date_format:"%Y-%m-%d"{/yun}   </div>
                   {yun:}if $job.isprice==1{/yun}
                   <div style="color:#666;">支付状态：{yun:}$arr_data.paystate.$state{/yun}   </div>
                   <div class="bm_s_p">
						{yun:}if $job.order_state=='1'{/yun} 
                        <a href="index.php?c=payment&id={yun:}$job.oid{/yun}" class="train_submit">去付款</a> 
                        <a href="javascript:void(0)" onclick="layer_del('确定要取消？', 'index.php?c=baoming_subject&act=del&id={yun:}$job.id{/yun}');" class="train_submit">取消报名</a>
                        {yun:}/if{/yun}
                  </div>
                  {yun:}else{/yun}
                  <div>支付状态：<font color="red">到场支付</font></div>
              <div class="bm_s_p">  <a href="javascript:void(0)" onclick="layer_del('确定要取消？', 'index.php?c=baoming_subject&act=del&id={yun:}$job.id{/yun}');" class="train_submit">取消报名</a>
      </div>
                  {yun:}/if{/yun}
              
               
               
               
               </li>
			    {yun:}/foreach{/yun} 
           </ul>
      </div>
      {yun:}else{/yun}
      <div class="msg_no">
          <p>亲爱的用户，您还没有报名的培训课程，想要获得更多学习机会</p>
          <p>立即搜索您感兴趣的课程并报名培训吧！</p>
          <a href="{yun:}url m=train{/yun}" target="_blank" class="msg_no_sq uesr_submit">立即搜索我感兴趣的培训课程>></a> </div>
            {yun:}/if{/yun}
        </div>
        <div class="diggg" style="float:right; margin-top:10px;">{yun:}$pagenav{/yun}</div>
    </div>
</div>
{yun:}include file="$userstyle/footer.htm"{/yun}